package com.ruoyi.labdata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 危化品名录对象 lab_cas_type
 * 
 * @author malang
 * @date 2022-03-06
 */
public class LabCasType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** CAS编号 */
    @Excel(name = "CAS编号")
    private String casNo;

    /** 品名 */
    @Excel(name = "品名")
    private String name;

    /** 别名 */
    @Excel(name = "别名")
    private String nickName;

    /** 状态 */
    @Excel(name = "状态")
    private Long statusOpt;

    /** 类型 */
    @Excel(name = "类型")
    private Long typeOpt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCasNo(String casNo) 
    {
        this.casNo = casNo;
    }

    public String getCasNo() 
    {
        return casNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setStatusOpt(Long statusOpt) 
    {
        this.statusOpt = statusOpt;
    }

    public Long getStatusOpt() 
    {
        return statusOpt;
    }
    public void setTypeOpt(Long typeOpt) 
    {
        this.typeOpt = typeOpt;
    }

    public Long getTypeOpt() 
    {
        return typeOpt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("casNo", getCasNo())
            .append("name", getName())
            .append("nickName", getNickName())
            .append("statusOpt", getStatusOpt())
            .append("typeOpt", getTypeOpt())
            .toString();
    }
}
